package ywh.player.media
{
	import flash.geom.Rectangle;
	import flash.text.TextField;
	import ywh.list.CourseItem;
	import ywh.manager.Tag;
	import ywh.player.AbstractShower;
	
	/**
	 * 文字展示类;
	 * @author 杨伟华
	 */
	public class TitleTxtShower extends AbstractShower
	{
		private var tf:TextField;
		
		public function TitleTxtShower()
		{
		
		}
		
		override protected function initDisplayer():void
		{
			tf = render as TextField;
		}
		
		override public function set playItem(value:CourseItem):void
		{
			super.playItem = value;
			tf.text = value.getPropString(Tag._LABEL);
		}
	}

}